// Add the transparency slider
$(document).ready(function() {
	var tslider = $("#transparencySlider");
	var page = $("div#page")
    tslider.slider({
 	   	slide: function(event, ui) {
 	   		page.css("opacity", ui.value);
 	   	}
	});
    tslider.slider("option", "animate", "normal");
    tslider.slider("option", "min", 0);
    tslider.slider("option", "max", 1);
    tslider.slider("option", "step", 0.01);
    tslider.slider("option", "value", page.css("opacity"));
});